package com.lcifn.spring.transaction.test;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.lcifn.spring.transaction.manager.UserManager;

public class TransactionTxAdvice {
	
	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("transaction-tx-advice.xml");
		UserManager userManager = context.getBean("userManager", UserManager.class);
		userManager.batchUpdate();
	}
}
